home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8673 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: I980.ssi.stratus.com!not-for-mail
  2. From: davidm@ssi.stratus.com ()
  3. Newsgroups: comp.lang.c,comp.unix.programmer
  4. Subject: Union anomilies
  5. Date: 5 Mar 1996 20:41:31 GMT
  6. Organization: Stratus Computer Inc, Marlboro MA
  7. Message-ID: <4hi8tr$502@transfer.stratus.com>
  8. References: <4hhuo3$778@transfer.stratus.com>
  9. Reply-To: David_McReynolds@vos.stratus.com
  10. NNTP-Posting-Host: i980.ssi.stratus.com
  11. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  12.  
  13. I have to maintains code written long before I arrived on the scene here.
  14. I have a question regarding something I ran into.
  15.  
  16. What issues should I be concerned with regarding typedefed structs that
  17. have as data members unions and who are themselves used in unions inside
  18. other typedefed structs?  The original author had presence of mind enough
  19. to be concerned about data alignment as witnessed by the #pragma specifiying
  20. 2 byte alignment.
  21.  
  22. Any suggestions as to reference material would be helpful.  Things just
  23. aren't quite where I expect them to be....
  24.  
  25. I guess I should mention that the platform is an IBM RS6000 running
  26. AIX 3.2.5.
  27.  
  28. Dave
  29.